﻿using System;
using System.Collections.Generic;
using System.Text;
using BlueLotus7.MetaWeblogUtil.Contract;
using CookComputing.XmlRpc;

namespace BlueLotus7.MetaWeblogUtil.Contract.Interfaces
{
    public interface IMetaWeblogProxy : IXmlRpcProxy
    {
        BlogInfo[] GetUserBlogs(string appkey, string userName, string password);
        Post[] GetRecentPosts(string userName, string password, string blogid, int noOfPosts);
        CategoryInfo[] GetCategories(string userName, string password);
        int NewPost(string userName, string password, string blogid, Post post);
        void EditPost(string userName, string password, Post post);
        Post GetPost(string userName, string password, int postid);
        void DeletePost(string userName, string password, int postid);
        MediaObjectInfo NewMediaObject(string userName, string password, MediaObject mediaObject);
    }
}
